The node you are looking for is at
AC_FOO_IFELSE vs AC_TRY_FOO
.